function bbimg(o){ 
    var zoom=parseInt(o.style.zoom, 10)||100;
    zoom+=event.wheelDelta/12;
    if (zoom>0) {
        o.style.zoom=zoom+'%';
    }
    return false;
}
drag = 0;
move = 0;
function mousedown()
{
    if(drag)
    {
        X1 = window.event.x - parseInt(dragimages.style.left);
        Y1 = window.event.y - parseInt(dragimages.style.top);
        dragimages.style.Index += 1;
        move = 1;
    }
}
function mouseStop() {
    window.event.returnValue = false;
}
function mousemove() {
    if (move)
    {
        dragimages.style.left = window.event.x - X1;
        dragimages.style.top = window.event.y - Y1;
    }
}
function mouseup() {
    move = 0;
}
function remove() {
    document.all.moveimg.onmousemove = mousemove;
    document.all.moveimg.onmousedown = mousedown;
    document.all.moveimg.onmouseup = mouseup;
    document.all.moveimg.ondragstart  = mouseStop;
}